package com.youi.entity;

import java.util.Date;

import com.youi.common.DelStatus;

import java.io.Serializable;


/**
 * 易宝分账流水信息
 * @author XJY
 */
public class Yibaodivide implements Serializable {

	private Long id;							    //ID
	private Date gmtCreated;						//创建时间
	private Integer delStatus;						//删除状态（0否 1是）
	private Date gmtModify;							//最后修改时间
	private String status;							//分账状态(SUCCESS("成功")FAIL("失败")ACCEPT("处理中"))
	private String orderId;							//原订单商户订单号
	private String orderNo;							//需要分账的订单号
	private String uniqueOrderNo;					//易宝流水号
	private String divideRequestId;					//分账商户请求号
	private String divideDetail;					//分账明细

    public Yibaodivide(){

    }

    public Yibaodivide(Long id,Date gmtCreated,Integer delStatus,Date gmtModify) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
    }


    public Yibaodivide(String status,String orderId,String orderNo,String uniqueOrderNo,String divideRequestId,String divideDetail) {
        this.gmtCreated=new Date();
        this.delStatus=DelStatus.NODEL;
        this.gmtModify=gmtCreated;
        this.status=status;
        this.orderId=orderId;
        this.orderNo=orderNo;
        this.uniqueOrderNo=uniqueOrderNo;
        this.divideRequestId=divideRequestId;
        this.divideDetail=divideDetail;
     }


	public void setId(Long id){
		this.id=id;
	}

	public Long getId(){
		return id;
	}

	public void setGmtCreated(Date gmtCreated){
		this.gmtCreated=gmtCreated;
	}

	public Date getGmtCreated(){
		return gmtCreated;
	}

	public void setDelStatus(Integer delStatus){
		this.delStatus=delStatus;
	}

	public Integer getDelStatus(){
		return delStatus;
	}

	public void setGmtModify(Date gmtModify){
		this.gmtModify=gmtModify;
	}

	public Date getGmtModify(){
		return gmtModify;
	}

	public void setStatus(String status){
		this.status=status;
	}

	public String getStatus(){
		return status;
	}

	public void setOrderId(String orderId){
		this.orderId=orderId;
	}

	public String getOrderId(){
		return orderId;
	}

	public void setOrderNo(String orderNo){
		this.orderNo=orderNo;
	}

	public String getOrderNo(){
		return orderNo;
	}

	public void setUniqueOrderNo(String uniqueOrderNo){
		this.uniqueOrderNo=uniqueOrderNo;
	}

	public String getUniqueOrderNo(){
		return uniqueOrderNo;
	}

	public void setDivideRequestId(String divideRequestId){
		this.divideRequestId=divideRequestId;
	}

	public String getDivideRequestId(){
		return divideRequestId;
	}

	public void setDivideDetail(String divideDetail){
		this.divideDetail=divideDetail;
	}

	public String getDivideDetail(){
		return divideDetail;
	}

}
